package com.test.component;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @Author：徐志荣
 * @Date：2023/6/11 下午 3:48
 */
@Component
public class EComponent {
@Autowired
    private FComponent fComponent;
    @PostConstruct
    public void postConstruct(){
        System.out.println("执行了 E的 PostConstruct");
    }
    public void sayHi(){
        System.out.println("hi EComponent");
    }
}
